 
import cms_layout from '@/views/cms/layout' 
const cms_routes = [
    {
        path: '/cms/total',
        component: cms_layout,
        redirect: '/cms/total/page_a',
        meta:{
            icon:'',
            title:'页面汇总',
            roles:[],
        },
        children:[
            {
                name:'page_a',
                path: 'page_a',
                meta:{
                    icon:'',
                    title:'A页面',
                    roles:[],
                    affix:true
                },
                component: ()=>import('@/views/cms/page_a.vue'),
                hidden: false
            },
            {
                name:'page_b',
                path: 'page_b',
                meta:{
                    icon:'',
                    title:'B页面',
                    roles:[]
                },
                component: ()=>import('@/views/cms/page_b.vue'),
                hidden: false
            }
        ]
    },
    {
        path: '/cms/c',
        component: cms_layout,
        children:[
            {
                name:'page_c',
                path: 'page_c',
                meta:{
                    icon:'',
                    title:'c页面',
                    roles:[]
                },
                component: ()=>import('@/views/cms/page_c.vue')
            }
        ]
    },
    {
        path: '/vue-element-admin',
        component: cms_layout,
        children: [
            {
                path: 'https://panjiachen.github.io/vue-element-admin-site/zh/guide/#%E5%8A%9F%E8%83%BD',
                meta: { title: 'vueElementAdmin', icon: 'link' }
            }
        ]
    },
    {
        path: '/spring-boot-admin',
        component: cms_layout,
        children: [
            {
                path: 'http://47.105.159.10:8000/instances/58c15acdd00c/details',
                meta: { title: 'SpringBootAdmin', icon: 'link' }
            }
        ]
    },
]

export default cms_routes